package zjitc.net.Weixin;

import java.util.Scanner;

/**
 * @Author admin
 * @Date 2019/3/22 8:36
 */
public class Test {
    public static void main(String[] args) {
        System.out.println("请选择  1--微博   2--微信");
        Scanner in=new Scanner(System.in);
        int a =in.nextInt();

        ChatTool chat=ChatFactory.getChat(a);
        chat.login();
        chat.send();
        chat.exit();
    }
}
